module.exports = {
    proxy: {
        '/api': {
            target: 'https://pvp.qq.com/',
            changeOrigin: true, // 是否跨域
            rewrite: path => path.replace(/^\/api/, '')
        }
    }
}